//
//  PaymentHelpClass.h
//  YaDiuDiu
//
//  Created by 陈刚 on 2017/10/13.
//  Copyright © 2017年 jy. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^AlipayPaySuccessBlock) (NSString *strValue);

typedef void (^AlipayPayFailBlock) (NSString *strValue);

@interface PaymentHelpClass : NSObject

@property (nonatomic, copy) AlipayPaySuccessBlock alipayPaySuccessBlock;

@property (nonatomic, copy) AlipayPayFailBlock alipayPayFailBlock;

- (void)toAlipay:(NSString *)price success:(AlipayPaySuccessBlock)success failure:(AlipayPayFailBlock)failure;

/**
 支付宝支付

 @param price 金额
 */
- (void)doAlipayPay:(NSString *)price;


/**
 微信支付

 @param pric 金额
 */
- (void)doWeiXinPay:(NSString *)pric;

@end
